package com.heima.admin.service.impl;

import com.heima.admin.service.AdminChannelService;
import com.heima.client.wemedia.IWemediaClient;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminChannelServiceImpl implements AdminChannelService {
    @Autowired
    private IWemediaClient wemediaClient;

    /**
     * 获取频道列表
     *
     * @return
     */
    @Override
    public ResponseResult getChannel() {

        return wemediaClient.listChannels();
    }























}
